<template>
  <layout-page>
    <div class="welcome-container">
      <div class="welcome-desc">
        <h4>欢迎体验</h4>
        <span>yuCloud后台管理系统</span>
        <span>- Vue3+Element-plus+Node+Mongodb</span>
      </div>
      <div class="welcome-bg"></div>
    </div>
  </layout-page>
</template>

<script setup>
import LayoutPage from '@/components/LayoutPage/index.vue'

</script>

<style lang="scss">
.welcome-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  padding: 40px;
  .welcome-desc {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    bottom: 40px;
    > h4 {
      font-size: 22px;
      font-weight: 600;
      color: var(--el-color-black);
      margin-bottom: 10px;
    }
    > span {
      &:nth-of-type(1) {
        font-size: 30px;
        color: var(--el-color-primary);
      }
      &:nth-of-type(2) {
        font-size: 14px;
        text-indent: 2em;
        color: var(--el-color-info-dark-2);
        margin-top: 20px;
      }
    }
  }
  .welcome-bg {
    flex: 1;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('@/assets/images/welcome.png');
  }
}
</style>
